package com.zenith.user.po.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 用户角色关联DTO
 *
 * @author makejava
 * @since 2025-08-15
 */
@Data
@Schema(name = "UserRoleDTO", description = "用户角色关联证书DTO")
public class UserRoleDTO {

    @Schema(description = "页码")
    private Integer pageNum;

    @Schema(description = "每页数量")
    private Integer pageSize;

    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "角色ID")
    private Long roleId;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "是否删除（0-未删除，1-已删除）")
    private Integer deleted;
}